//define localization
Ext.define('Cps.Locale', {
	statics: {
		Login: {
			title: "Login",
			login_title_message: "Failed",
			login_fail: 'Invalid username or password',
			field_code: 'User Code',
			field_password: 'Password',
			field_language: 'Choose language',
            btn_login: 'Sign in',
		},
		Dashboard: {
			title: 'User dashboard',
			title_filter: 'Filter',
			filter_group: 'Group',
			filter_companies: 'Company',
            filter_account: 'Account',
            filter_value_date: 'On the value date',
            filter_value_trade: 'On the trade date',
            filter_centralaccount: 'Display central accounts',
			filter_view: 'View',
			filter_year: 'Year',
			filter_month: 'Month',
			filter_btnview: 'View'
		},
		Dashboard1: {
			title: 'Solution Concept',
			home_btn1: 'Management centers',
			home_btn2: 'Language',
			home_btn3: 'User',
			logout: 'Logout',
			title_west: 'Display',
			title_center1: 'General criteria selected',
			title_center2: 'Global views',
			combo1: 'Consolidation by portfolio',
			combo2: 'Consolidation by client',
			combo3: 'Consolidation by depositary',
			combo4: 'Consolidation by manager',
			all: 'All',
			node1: 'Global views',
			node2: 'Graphycal analysis',
			node2_1: 'By currency',
			node2_2: 'By category',
			node2_3: 'By depositary',
			btnfilter1: 'Criteria',
			chart1: 'Column',
			chart2: 'Line',
			chart3: 'Pie',
			chart4: 'Bar',
			chart5: 'Area',
			chart6: 'Donut',
			chart7: 'Radial',
			chart8: 'Scatter',
			chart9: 'Gauges',
			print: "Print",
			exportToExcel: "Export To Excel",
			refresh: 'Refresh',
			preview: 'Preview',
			valid: 'Number is not valid'
		},
		Criteria: {
			title: 'General criteria',
			field1: 'Depositary',
			field2: 'Client',
			field3: 'Portfolio',
			field4: 'Bank positions',
			field5: 'Calculated positions',
			field6: 'On historic date',
			field7: 'Manager',
			field8: 'Pool of clients',
			field9: 'Security',
			field10: 'With nil cash accounts',
			field11: 'With nil securities positions',
			btn1: 'OK',
			btn2: 'Cancel',
			title_warning: 'Warning',
			content_warning: 'Form is not valid!'
		},
		Search: {
			title: 'Search client',
			title1: 'Search portfolio',
			title2: 'Search security',
			field: 'Search',
			field1: 'Only client actifs',
			btn1: 'Search',
			btn2: 'OK',
			btn3: 'Cancel',
			column1: 'Code',
			column2: 'Name',
			column3: 'Currency',
			column4: 'Class of security'
		},
		Zone4: {
			define: 'Non-defined',
			records: 'Records',
			column1: 'Nomination',
			column2: 'Currency',
			column3: 'Quantity',
			column4: 'Market price',
			column5: 'Purchase value',
			column6: 'Code/number/contract',
			column7: 'Purchase price',
			column8: 'Purchase value',
			column9: 'Market value (ref, client)',
			column10: 'Distribution',
			column11: 'Portfolio',
			column12: 'Category',
			column13: 'Bank',
			column14: 'Manager',
			column15: 'Pool of clients',
			column16: 'Client',
			waitMsg: 'Please wait...',
			showGroupingPanel: 'Group By Panel'
		},
        ReportV2: {
            company: "Account",
            label: "Label",
            currency: "Currency",
            balance: "Balance",
            debit: "Debit EUR",
            credit: "Credit EUR",
            result: "results"
        },
		CANCEL: 'Cancel',
		NO: 'No',
		SAVE: 'Save',
		YES: 'Yes',
		LOGOUT: 'Logout',
		ENGLISH: 'English',
		FRENCH: 'French',
		MONTHSTR: ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
		MONTHFULLSTR: ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
	}
});
Ext.define("Ext.locale.en.grid.header.Container", {
    override: "Ext.grid.header.Container",
    sortAscText: "Sort Ascending",
    sortDescText: "Sort Descending",
    columnsText: "Columns"
});
Ext.define("Ext.locale.fr.grid.feature.MultiGrouping", {
    override: "Ext.ux.grid.feature.MultiGrouping",
    groupByText: 'Group by this field',
	addGroupFieldText: 'Add to grouping',
	ungroupFieldText: 'Ungroup this field',
	showGroupsText: 'Display breaks',
});
Ext.define("Ext.locale.fr.grid.plugin.GroupingPanel", {
    override: "Ext.ux.grid.plugin.GroupingPanel",
    groupingPanelText:      'Drag a column header here to group by that column',
    showGroupingPanelText:  'Show Group By Panel',
    hideGroupingPanelText:  'Hide Group By Panel',
    clearGroupText:         'Clear Group',
});
